Fixed next prev button browsing.