One line to resolve a logic error.
Pager switch by touch event.