adding controls for slide menus (menu positioning)