handling current section index being greater than the number of block panels