Modes of internal motion in three-body systems