Added Popup support for top/bottom

Tested on WP8. Will add left/right later.