commented out code causing slow scrolling