save chat window position on resize as well as move