Added translation and pivot spin in controllers.c