sort by distance implemented. Major UI revamp