Set Page to 1 when changing items per page

Need moving to 1 page when changing from small number of items per page to big number.