Move resize method to View
Better resize method in InnerCore