Adds sidebar styling for Document entries.
Fixes integration bugs for listenToDOM method for audio and PDF views.