Example of using NSScrollView for UI with animation