Added Pan and select buttons. Pan can be used in the case that the mouse middle button does not work correctly
Removed some comments