add Code comments and make responsive optimization