Added -moz- prefix for the transition