adds dynamic nav and deleted post with img