Switched animation to use auto layout