An electronic device comprising: a first body portion having a first face and a second face; a second body portion having a first face and a second face, the second body portion and the first body portion hinged to each other by a first hinge that hinges a first edge of the first body portion, and a second edge of the second body portion, to each other to facilitate rotation of at least one of the first and second body portions into at least a first configuration where the first face of the first body portion is adjacent the first face of the second body portion, and into a second configuration where the second face of the first body portion is adjacent the second face of the second body portion; a first magnet positioned at a third edge of the first body portion that is opposite the first edge ; and a second magnet positioned at a fourth edge of the second body portion that is opposite the second edge, a third magnet positioned at the third edge of the first body portion; a fourth magnet positioned at the fourth edge of the second body portion; wherein the first magnet and the third magnet are placed symmetrically about a centerline from the first hinge to the third edge so that a first resulting magnetic force thereof is substantially aligned with the first hinge, and wherein the second magnet and the fourth magnet are placed symmetrically about a centerline from the first hinge to the fourth edge so that a second resulting magnetic force thereof is substantially aligned with the first hinge, wherein the first magnet and the second magnet are separated by a closest distance which is the same in both the first and second configurations. a first body portion having a first face and a second face; a second body portion having a first face and a second face, the second body portion and the first body portion hinged to each other by a first hinge that hinges a first edge of the first body portion, and a second edge of the second body portion, to each other to facilitate rotation of at least one of the first and second body portions into at least a first configuration where the first face of the first body portion is adjacent the first face of the second body portion, and into a second configuration where the second face of the first body portion is adjacent the second face of the second body portion; a first magnet positioned at a third edge of the first body portion that is opposite the first edge ; and a second magnet positioned at a fourth edge of the second body portion that is opposite the second edge, a third magnet positioned at the third edge of the first body portion; a fourth magnet positioned at the fourth edge of the second body portion; wherein the first magnet and the third magnet are placed symmetrically about a centerline from the first hinge to the third edge so that a first resulting magnetic force thereof is substantially aligned with the first hinge, and wherein the second magnet and the fourth magnet are placed symmetrically about a centerline from the first hinge to the fourth edge so that a second resulting magnetic force thereof is substantially aligned with the first hinge, wherein the first magnet and the second magnet are separated by a closest distance which is the same in both the first and second configurations. <EOS>