fix styles for portfolio page
fix localstorage event issue