changed placement of settings elements in dom