fixed dropdown animation bug