fix #58 better, x-browser panning and zooming with grids
(imperfect but good enough for beta)
merge fix_#58 and resolve conflicts