added support for dynamically sized (and placed) editor palette