Add next and prev links with boolean option includeDirectionLinks