how to do transitions between selected/current item