Working horizon mode toggle

able to turn horizon mode on and off