Added collapse to navbar

On touch devices, when an item in the collapse is clicked, the menu stays. This change makes it hide
Corrected collapse firing on page load
Merge pull request #177 from lukeb-uk/master

feat(navbar): add support for collapse on touch devices.