fixed jquery bug adding comment to wrong photo