* move window position to global.el
* add scroll-margin