Reversing motor