removes unnecessary variables and tidies up sidebar controller display logic
removes unnecessary variables and tidies up sidebar controller display logic

ScottLogic/bitflux-openfin,owennw/OpenFinD3FC,ScottLogic/StockFlux,ScottLogic/bitflux-openfin,owennw/OpenFinD3FC,ScottLogic/StockFlux