check nav bar height