added pager function for input field selection and first page icon