Optional padding lines on both sides

- Fix: changed the query for paddingleft and paddingright into a try/catch block, this way there's no script error if on of these variable aren't defined