ECMS-6536 [Document Preview] Previous and Next icon is not disabled when stay at first page and last page