Mobile touch-drag viewport navigation

In many mobile games, the way you move around the view port is by touching the screen and sliding your finger around, instead of the inconvenient right side joystick. How can I do this in my project??? Any help is appreciated.