added autoresizing of portfolio content