Updated Visibility and Animation Duration functioanlity