swipe is working kinda, does the first page twice for some reason
remove dead code
added debugging code to try to figure out why the double load on the first page