Added swipe gesture to open/close the property panel