script to demonstrate how to move image using keyboard