automatic grid horizontal scrolling fix