added flex slider code