link to the previous gallery is removed