Added a hide option for showmenu