Nav menu responds partially to forward and back button