made nav bar scroll properly