added 'return to home position' feature