A slider with breakpoints built with React