Changed animate from swing to linear