Add moving functionality to Text