Added toggleNav function to be more DRY
Merge branch 'wip-1'