Message container scrolling
Replaced scroll math with a library