disable hover effect on mobile

disabled dropdown hover effect on mobile nav. it wasn’t noticeable if
the nav was at the edge of the screen but it was otherwise.

Also using “use strict” mode now.