Refine notes layout