make the window move nicely