added window property "center" to re-align window on browser resize