Added expanded shrink animation and properties for corner radius and shadowOpacity