added an anchor object and allowed for easier swiping