creating arm transitions