check navbar toggle