fixed issue with pagedClass being referenced in selected children