added transition while selecting samples