Added 'fade' animation functionality