Adding animation to ajax post load. Close and prev next function