dynamic selector for pages