smoothed window animation, and removed flips from not linked squares
fixed window overlap issue