fixed disabling of prev/next buttons upon ajax conn error