a - previous image d - next image set width and height to the costume names
thanks to @griffpatch for the tutorial