Cache subviews (improves performance)

This way we don't reconstruct the subviews every time we change tabs.
This will be needed to easily transition between the left and right
views.