Added a simple spring animation to the page open and close