Added dots element (for pagination); Disabling next button in first page; Disabling prev button in last page