added drop down menu functionality