Fix masonry.js styling for user profile page