Added automatic zoom-in/out based on level size