fix pull-to-refresh layout in chat sample