replace reload on resize with on toggle

Reloading the menu on window resize results in the menu resetting itself and hiding all submenus on scroll on a touch device.