updated collision for sliding