pks: Fix math in graph moving code
pks: Allow clicking in graph thumbnail