Frame setup before view will appear