Make UserPrompt calculate its veritical position dynamically