reduce excess rows and scroll threshold