show sources only when images are visible