added dynamic DOM modification and inifinite scroll