Adding support for normal back and forth searches through the history. It still has some minor bugs though