Fixed the clear buttons in phase controller and overlay controller.

Added Test suites for both functionalities.
Added styling for vertical scrollbars