Replaced the modal transitions with JQuery

Let's see how this goes...