remove box shadow, only do animation if Promises are available