resize slider on show