[front-end, bug-fix] fix EventPublisher.replacePageSubscriptions
[front-end] add scrollbars to widget contents if there is not enough space