client example: fix automatic scrolling