Update gaD.js

first step for horizontal/vertikal and sliders