Controling the pager input