updated style for pagination
added tag support