re #65 - fixed werid jump bug in gallery