fixed bug where robot pose didn't update properly. added function to resize display panel based on screen resolution