Shameless

I can't really defend line 30. That was a bit of a hack to deal with the last frame. I guess I could add a method such as `on_last_frame?(from_index)`.

Thanks for the feedback.