style for portfolio page and bug fixes for collection pages