double-click problem for next/prev buttons