chat view and home view size obtained from screen bounds