Update viewMask and View Scroll container with cleanup functions