Fix layout error in base template.
Fix showing loader during loading chat logs on chatroom change.