added animation to right pane