Fix overflow of gallery links