remove history and navigationDrawer from UI