Take 2. Ensures cursor goes to end when cycling history