Update controller.js

Adding autoscroll to the sales form