Addind maxItems handling in showPart navigation