use % instead of px for padding of market details
finish refactor for market section