Smooth panels and mouse button handling.