before switch to nav drawer