fixed weird animation in menu