modified nav bar on swipe behavior