remove unnecesary shadow
back transition only for small devices