Create a boundary around the image for panning so that panning stops beyond the image boundary. 