improving navbar positioning on scroll