add actions for panting and some views