Repeat of pull request #451 Navigation DropDown fix for mobile devices due to reverting some commits.

Comments once again:
This patch prevents deleting of onClick events in the drop-downs within navbar on mobile devices only.