Added function for portfolio page