Bouncing Square with moving acceleration