get navigation bar size