set buttonMode for thumbnail pages