Add dropdown functionality to navbar