* Buttons for translating

Also some code refactoring to simplify changes to zoom, rotate and translate
functions