Wrap the pointer when the edge of the window is reached

This commit causes the pointer to wrap when it reaches the edge of the window, while dragging. Feh behaviour that I miss in sxiv, thought it might come in handy.