adds transition effect back to a elements