fixing the fade in and out of content