make navbar become dropdown-list in mobile environment