set gif viewer position on hover