Fix transition durations to depend on global tduration variable. Start writing end to end css tests for real.