update examples to use sidebarLayout rather than pageWithSidebar