Implementing the dropdown menu