JS Functionality to Dropdown Arrow