Prevent scroll when clicking dropdown menus

I had to constraint the jquery-rails gem, since 3.0.0 doesn't include jquery-ui anymore, causing precompilation of the assets to fail.

The actual fix is just a preventDefault, to stop browsers from jumping to the anchor when clicking the dropdown menus.