improve menu-panel animation