re #65 - gallery now stops at the end