css dropdown transition not working