removed display none from divs
handle attribute changes