tab switching implemented, function body for close tab added
)
remove implemented