Use FlexBox for layout
Remember window size and location