rearranging quickview function to be added in by jquery into list item