Minor changes to the code structure
Added Resize to Tab container