minor adjustment to snapping of navbar