Add viewing flag for base layouts instead of using parentView

Took a stab at fixing https://github.com/airbnb/rendr/issues/98 - let me know if using the `viewing` flag is a decent approach to the problem