pan gesture refactors and comments, some renaming