pan gesture animate fix and record added