added more functionality such as break points and weather to scale image to parent div.