Fix dropdown not working on mobile devices