added side-on collision detection with stage