make pull down list work on click