fix sliders resize

main.js resize fix