set initial rotation of images as random