load background image when component is added to viewport