[fix][ui] fix back/cancel icon behaviour by using custom animation classes