Added more movement code to allow movement through objects