Fixed notes panel and optimized layouting