fixes styling for main button's transition