added grid view and google analytics