finish the gallery and portfolio pages