tweak layout width to prevent overlap