move page list hiding to CSS