walk or swim sideways riddle

Riddle
I usually walk or swim sideways. If you come looking for me on a trip to the beach, be very careful because you might get an unwanted pinch from me! 

    Crab