Several small fixes for the responsive layout

/cc @mitsuhiko @kennethreitz