make button nonoverlapping