update layout for JavaFX 8