Making it so the thread scrolls to a certain point