giving support to new version of swipebox