functional slider for projects gallery