default right or left handler func