changed flex slider behaviour