You would just have to hold the space key while walking into a wall and SHAKE your mouse left and right back then.