implemented redraw frame for menu up and down