pan to select feature added and some minor redesign