High speed switching in magnetic recording media