Fixed bug: Show first page header when page count gets reset. Also fixed odd/even page detection.