hardcoding transform origins and adding resize event