Added panel-switch functionality. Also, made reset button compatible for both panels..