Prev/Next buttons, Updated File Retrieval Methods

Added prev/next buttons to each photo page and updated
photopagewriter.php to filter files more effectively