Merging the AR panels

because that reduce duplication

Fixing AR toggle (it used selection rather than event index)