refact TileView