Implement rewind behaviour