parseViewName splits parameters from viewName to find the correct view