camera auto-resize, zoom functionality