@jamalex 's code to keep new nav bar from bouncing.