Moved the toggle ons to prevent an issue that caused sides to toggle when they shouldn't