Scaling of interface displacement in a microfluidic comparator