right and left platform collision work