Changed the navbar shrink threshold from 300 to 50, much smoother now.