autopaginate added. sleep time reduced to 0.2 seconds