Fix sidebar contact and gateway links for medium-sized screens