refactor style of thoughts page