show spinner if pref or next is clicked