dropdown functionality to new pages