fixed navbar bugs and fixed bugs on the new group. Also cleaned up the viewMap.html