Derma - detect if a panel has moved over another panel

How do you detect if a derma frame has moved on top of another?