Fix scrolling for safari

Resolves #30