Fix overflow for mobile browsers

Fixes #24