Adapt tray position