Corrects active dot when last item is reached
Merge pull request #231 from witrin/#189

Corrects active dot when last item is reached