menu animations bug fix