Further fix to #102

"Next"/"Previous" buttons did not work.