High-resolution force microscopy of in-plane magnetization