added functions to fade in/out content