Add mutation observer for style attribute changes