hide dividing line for images when there are none