help fixing rotating fish lamp

I've got one of those old nightlight lamps with the rotating pictures, thing is yesterday I dropped it and it's stopped spinning when I turn it on. I opened it up, but this part (in the pics, I assume it's the motor) doesn't look like it's supposed to be opened. 3rd pic are the things it's supposed to turn.

does anyone know how I could fix this?