updates for proper view size