added natural scrolling for code blocks