Hi
Haven't done it myself, but I assume you code something which will take the offset of the current page, substract a certain number (2, 03 three) and then makes links to each page, from the 2, or 3 less then offset, up and untill 2 or three more then offset. First is off course a link to offset=0 and last is a link to offset=numberofpages.
J.