Fixes market to have popover-placement="top'

Market fixed to have popover-placement="top' instead of 'left', which
was causing some problems, and I also changed the popover-placement='right' to 'top' for consistency.

Associated with #4278.