fixing layout issues and improving the tabs. trying to keep tab active but no success until now.