Added check to render hidden fields only if top, left, bottom or right is set to true.
Merge pull request #347 from mharis/master

Added check to render hidden fields only if top, left, bottom or right is set to true