Basic animations in JavaFX