Prevent clicks on a dropdown from scrolling the page