Update dock x position