instagram popular photo and video viewer through rails