dynamically set frame size

Set the frame size if less than 1000.

FB.Canvas.setSize({ width: 810, height: 610 });