Do a reposition on document ready as well.

Change-Id: I9f0e3a31d9f56b93956e228ebc3598d549ab0918