changing slider to absolute dimensions