Implement mouse pan interaction in glviewer