pan and zoom fixed on graphs