Added appendTo and position settings