add realtime post previewing