adjust vertical positions of things to prevent overlap with surfaces