[ui] add animation when details are shown