Add data attributes to active segment div