added wall bouncing effect