Use .after instead of .append when adding ajax loading overlays.