disabling buttons in browse for prev/next