Added max height and scroll to codeblocks
Merge branch 'code-maxcodeblock' into preview