implemented range with divs