added reposition window with fade effect