Added drag text functionality