dropdown now closed on second click

better user experience on mobile devices
Merge pull request #1 from hpmewes/master

Thanks for hpmewes (https://github.com/hpmewes)