fix slider for ipad