add footer in gallery