Made the loading div size dynamically to the treemap size