introduced separated flex slider handler