remodified menu ui to stop the random movement of buttons when clicked