Move the closing animation code from dialogHelpers into complete_sign_in.js
* Coherent parts should go together
* To dom-jquery add setStyle and getInnerWidth