divise IsCollision

UP DOWN LEFT RIGHT check is separated + reorganise code