Document position relative to screen

Is it possible to retrieve the document bounds relative to the current monitor’s bounds?
I want to implement something similar to a Contextual Taskbar that attaches to the bottom of the document.
Or is there any other way to access the position of the Contextual Taskbar?

thanks