Add checkVisibility to ResponsiveImage