Disable thumbnail sorting actions when there is not any thumbnails