Add async loading effect to Layer