Refactors chat windown scrolling, fixes footer position