Repeated pull request #451 Navigation DropDown fix for mobile devices.

Previous commit was reverted.

Comments on changes once again:
This patch prevents deleting of 'onClick' events in the drop-downs within navbar on mobile devices.