Homepage: Tabbed menu disabled for tablet/desktop

* Reworked javascript to check screen.width and remove classes that
would cause tabbed behavior.
* Also fixed an undefined error found in Console