changed animation from working with time delta to time, fixed parallax bug