Fixed mobile hamburger menu collapse

Added collapseMenu function to collapse menu on item click.