template updated to adjust complete UI layout