the magic number was: $("nav.top-bar").height()