Fix top/bottom popover misplacement
Removes padding that was added for testing
Remove offset declaration from test