added oncompelte callback for jquery animation