Fix for container content overflowing

This fixes an issue of content overflowing the new container id, seen here:

![Sidebar escapes the container](http://i.imgur.com/IuvS6ua.png)