Remove nav bar frame calcultaion