moved after loop action to end of file to match opening action at beginning of file
added before/after link loop pagination actions to template
moved filter select boxes from static template calls to actions
return markup to profile subnav filter instead of echoing