removed debug code
fixed vsprint error

add proper markup
fixed prev next links on pagination