response to resize
posted demo