magnetism description react magnetic component to allow dom to attach to the left and right side of the screen