wall collision and scrolling through map

I did have to hard code at one point but the movement is smooth for now. Feel free to ask any questions.