smaller tweaking. selectNext() and selectPrevious() still don't really work as wanted.