fixing animation for menu close button