add javascript swipe functionality to the property page.