fixing main animation for mobile off canvas