adding styles when loading content