Use JS instead of CSS3 transitions to support all browsers

Change from CSS3 transitions to JS animations. Introduces tweening library shifty.