Style the nav directly instead of the nav.affix-top, because .affix-top is a delayed class that happens via javascript. And, this delay makes the top padding arrive at a delay that makes the site look broken.