fix for horizontal scrolling