rotates 5 images in one direction

instead of changing img src, did the image change with hide/show