Simple autoview function