basic zooming functionality - also organize imports and code formatting