added platforms with trigger colliders and fixed the movement script