Hack vertical and horizontal scrolling to work