Added tab switching with content to fp