Using scroll layer in main component