Improve doc viewer styling and positioning.