Handle the case of resize to the bottom when overlapping