Added timeout for masonry on main page