Added an animation to the modal

Known bugs: Currently shows the scrollbar before the modal comes into
the viewport.