Add functionality for multiple button layouts, and automatically switch between layouts when resizing the calculator.