handle moving camera