A library for dynamically creating adaptive position aware popups