tweaks to view lifecycle