fix offset calcuration at folding. ref #37
change offset animation method. close #37