added padding to gallery