when profile button is clicked, floating template disappears so the profile can be seen. If this is not done, then if you click hide, all the templates get hidden. may need to fix this later