Menu: Hide menu with click

* Fixed issue where flexmenu was staying open because page refresh was
not happening.