fixed transition not working for first card