adding logic for bouncing off the left/right of blocks