specify position in frame constructor
fixed a couple of resizing bugs