Show period length in slider