masonry function added for the welcome page