adjust modal initial top position