moving functions

but after 18 movements (why 18??), you stop and overlayimages errors
abound