Added dynamic popup centering, fixed thumbs positioning, replaced X-button