Added handleResize function to spa.chat.js and added onResize function to spa.shell.js which calls spa.chat.handleResize() using a timer