Refactor grid resize method
Refactor grid resize method

endemic/nonogram-backbone,endemic/nonogramjs,endemic/nonogramjs,endemic/nonogramjs,endemic/nonogram-backbone,endemic/nonogram-backbone,endemic/nonogram-backbone,endemic/nonogramjs,endemic/nonogram-backbone,endemic/nonogramjs,endemic/nonogramjs,endemic/nonogram-backbone,endemic/nonogram-backbone,endemic/nonogramjs