minor adjustment to the window transitioning