a more proper way to use a image as background