Added a height argument to \begin{minipage}. When the contents are more than the vertical limit, the extra contents will run into the page instead of overflowing to the next page.
This can be a solution till we figure out a way to smoothly transition to the next page.
Also added a % after the first \end{minipage} which removes the little bit of horizontal space that is automatically inserted by the minipage environment. Reference
Added a height argument to \begin{minipage}. When the contents are more than the vertical limit, the extra contents will run into the page instead of overflowing to the next page. This can be a solution till we figure out a way to smoothly transition to the next page.
Also added a % after the first \end{minipage} which removes the little bit of horizontal space that is automatically inserted by the
minipage
environment. Reference