adds graph zoom