format and sync closer to jquery animate's timing