fix for collapsing tabs when there is not enough content

Fixes the following. Check the last tab after build.

![](http://cl.ly/Z3t1/Image%202014-12-22%20at%202.07.36%20pm.png)