Fixes Issue #3781

Joyride modal overlay appears on window resize

Adds new settings variable 'riding', which is set to true on
start, false on end, and checked during window resize to determine
whether to show the modal overlay or not.
Merge pull request #5600 from sekjal/issue3781

Fixes Issue #3781