responsive layout hacked together

the css is really ugly. But looks like it works