grid scroll optimization