Adding lines between main pages