Your solution almost worked for me. However, I have some small problems:
1) How can I make the object to start the movement in the center of the layout?
2) The movement grows way to fast when I add 1 but too slow when I add 0.1. what should I do?
Here is what I am doing: