make toggle navbar button work