Adding script for moving images