adds support for fixed navigation bar to snap.js