animations. handle configuration changes