add getActiveTab method to Peers