Fix code block scrolling

Apologies, I thought I'd tested my previous commit pretty thoroughly but it looks like I re-broke the code block scrolling. This fixes the problem and both inline code and code blocks should be wrapping and scrolling correctly.