Handles the basic hashfrags for navbar
Handles the hashfrags - if hashfrag is given, itll open that div