Added change position functionality