Rectangle moves on pressing the arrow keys.