Adds smooth webkit scrolling and stops wrapping for pre elements.