added function to insert into database : complete
added function to overwrite the existing trip record with new inserted record.
added function to synchronize two different scroll view.
added parameters to match name with data width and event with data height