added responsive design with react class