added position property

Added position property, possible values are "left", "right", "top" and
"bottom". default is "top".