Added rewind functionality