private void closeUp(){
  Timeline animation=new Timeline(new KeyFrame(Duration.seconds(0.25),new KeyValue(inputs.prefHeightProperty(),0)));
  animation.play();
}

private void closeUp ( ) { Timeline animation = new Timeline ( new KeyFrame ( Duration . seconds ( 0.25 ) , new KeyValue ( inputs . prefHeightProperty ( ) , 0 ) ) ) ; animation . play ( ) ; }
makes an animation to make the input vbox slide closed over . 25 seconds
