new method to get bbox from viewport, moved code from achavi