use flexbox instead of hard numbers

Fixes this sort of overflow:

![screen shot 2014-05-15 at 3 20 08 pm](https://cloud.githubusercontent.com/assets/238208/2991526/2465cf38-dc7f-11e3-8855-16ffabce7b82.png)