slilder refactor
safari slider fix