Added changes to paneTransition

so new pane shows when transition is done.