enabling mutliple append that accepts post or attachment id and any number of prev and next works