I am trying to hide and skip to pages and it's not working