smooth scrolling window for edge transition