Changed animate from swing to linear

Swing caused a bug in Chrome where it would appear 1px out. Changing to
linear meant that it fixes this appearence bug