Moving page animation config to plugin