before new approach
added scrollable put in view port function