typecast incrementbyrange, add margins to rotator and hide inactive slides