Starting from v0.2.0, you can make your cytoscape graph responsive:
The following app shows this new feature in action: