refactor splash page