fixing the masonry loading problem

the home page couldnt load successfully due to turbolink effect on
masonry so added the script to reload masonry on my application.html.erb
file and everything is fine now...