added basic movement for triangles