Animate the right-pane collapse/uncollapse