binding _viewLoaded to the layout