Adding a horizontal line and animating its opacity to each page