set position after ajax request