Additional fixes to scrolling functionality. Still need to look into exception that occurs on resize.
Added max inline image width to chat window

Value is also in app settings and can be set by the user on the
"formatting" settings screen.
Merge pull request #2 from creativedrewy/master

Adding maximum inline image width to chat window