Fixes prev/next buttons.

I noticed that the prev/next buttons stopped working for my favorite little utility app :) This solution might be too ghetto but it got it working again for me.