To engage in dickish behavior. Used in the same spirit as "to fuck about", "fuck around", or "screw around".
We would have gotten here much faster if so many other drivers weren't wanking about the whole time.