fixed padding and margin bugs for iphone5 and nexus, also fixed img center bug