add auto close nav panel if not cubi app