Resize code blocks on orientation change