viewrange now dynamic