Allow scrolling on graphs on mobile devices.

Thanks to nbalonso