Add function to interpolate content insets