Spring compression and motion