Modified for travel and scaling of images