Added toolbar buttons for pan and zoom to editor

as requested by @xanax in #2825.