chat app resizable and chat area resizes correctly