adds renderInsideView to render stuff inside of the view