Fixed the code for the portfolio slider