fixes gallery not calculating nav height correctly
last commit was a mistake
Merge pull request #363 from G5/gallery-nav-fix

fixes gallery not calculating nav height correctly