change slider automatic height