Don't create duplicate styles, bug #4
The scroll positions are reset on dom node detach, so reset them on attach.