Rearraning windows