added method that automatically hides the smileybox