Switching between overlapping objects