from css transitions to jquery animate