adjust view; add mask when loading