#2. Make automatic skip pages between current page  and first and last pages.