get nav bar height right