Changing showMenu, hideMenu functions with class activation