moving multi-window positioning setup in here