got rid of prev/next buttons in code