swipe object will only be added the first time #main is shown