Fixes issue 4661

https://github.com/diaspora/diaspora/issues/4661

If the right side of the hovercard goes off the screen then pull it to the right. The magic number of 50 is to account for the scroll bar and to give a little padding so the hovercard isn't right against the edge of the screen. Specs pass.