dropdown functionality for all sections