Second phase of animations ver. 2.0

Fixed the animation bug which causes movement of a div to occur twice
when double clicked on it, by simply removing the remove() function from
the end and placing it at the start, where it should actually be.