applying border to img gallery