custom navigation with infinite scroll