Added option to throttle resize and scroll events.  Especially helpful for mobile platforms.