camera drag code
trying to get up to date