fixing gallery padding and margins

fixed broken padding and varying margin colour on gallery page.


![image](https://cloud.githubusercontent.com/assets/960919/4287199/ea5fbcc2-3d9f-11e4-9d15-9790b2330b37.png)