browser window resizing

I'm not too happy about the tests. If you want me to change them, please advise on how. I'm not very familiar with elixir yet...