Set view directory