Window now shown aligned properly to button after scroll