add class for subpages