added toggle function to hide/show  menu and table overview