Fix resize bug, and show contacts in order