Expand images in table cells when they are clicked