Finished implementation of drag for final segment.