added script for portfolio sidebar