Optimize side scroll offset