Added the automatic resize functionality for vnc_auto.html.