fixing issue with not animating menu second time