fixed navbar issues and delayed page hide to compensate for app lag