hiding main display when  menu is displayed