add images for first and last page buttons