remove previous content from div when opening new content