Random number range used for image rotation