side bar and player switching functional