Removing the last visible item in a list from the press of a button on a previous page.

Removing the last visible item in a list from the press of a button on a previous page.

Hi, I have two pages. On the first page I have a link to the second and a button.  On the second page is a list that has four items, item1, item2, item3 and item4.

What I want to do is when the button is press on the first page that it hides the last visible list view item on the second page.  So on the first press it hides item4, then item3 and so on.

I have included a fiddle -  https://jsfiddle.net/a4poster/j8w5qwta/48/.

Thanks in advance.