Thanks, this was the final puzzle to solve this problem!
Hi,
I have added your code and it works up until a certain point. When you shift the screen somewhere between 785 – 980 pixels it goes back to the faulty lay-out. I tried playing around the min-width pixels, though the same results happen with different width.