Buttons and repositioning in randon.html