I want to show that if $f:(a,b)\to \mathbb R$ is a strictly monotone function and if $x_0\in (a,b)$ such that there exist two sequences $(a_n)$ and $(b_n)$ with $a_n<x_0<b_n$ and $\lim\limits_{n\to \infty}(f(b_n)-f(a_n))=0$, then $f$ is continuous at $x_0$.
By monotonicity we can say that $\lim\limits_{n\to \infty}f(a_n)=f(x_0)=\lim\limits_{n\to \infty}f(b_n)$. Let $(x_n)$ be a sequence in $(a,b)$ such that $x_n\to x$. Here I got stuck. How to show that $f(x_n)\to f(x_0)$? Please help!