add a fun for return firstview and second view

add a fun for return firstview and second view