added horizontal padding and vertical padding options.