fixed bug - position of preview box may exceed the border of browser

make position fixed top - right corner