swipe and photo subphoto submit implemented but not funtioning