Resized Frame to fit Panel
changed to v3