added left/right control