new slider and slight mod
optimization