prevent navbar layout on push